package com.cxj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cxj.domain.Admin;
import com.cxj.vo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 宋小帅和李小美的computer
 * @description 针对表【admin(用户信息表)】的数据库操作Mapper
 * @createDate 2025-01-12 19:02:01
 * @Entity com.cxj.cxjbishe.domain.Admin
 */
@Mapper
public interface AdminMapper extends BaseMapper<Admin> {
    User login(@RequestParam String userName , @RequestParam String passWord);
    User selectUserByUserName(@RequestParam String Name);

    Boolean insertNewUser(@RequestParam String Name , @RequestParam String passWord , @RequestParam String userName);
}




